<form id="landline-form" action="#" method="post" {{ form_enctype(form) }}>
<fieldset> 
        {% block legend%}
        {%endblock %}
        <div class="errorsummary">
            {{ form_errors(form) }}
            {{ form_errors(form.bounce) }}
            {{ form_errors(form.titolo) }}    
            {{ form_errors(form.contenuto) }}
            {{ form_errors(form.craft) }}    
        </div>
        {{ form_label(form.bounce) }}
        {{ form_widget(form.bounce, { 'attr': {'class' : 'required text ui-widget-content ui-corner-all', 'size' : 20} }) }}

        {{ form_label(form.titolo) }}
        {{ form_widget(form.titolo, { 'attr': {'class' : 'required text ui-widget-content ui-corner-all', 'cols' : '50', 'rows' : '2'} }) }}

        <!--{{ form_label(form.craft) }}-->
         <label for="craft">Crafty:</label>
        {{ form_widget(form.craft, {'empty_value' : '[Scegli un craft]', 'attr': {'class' : 'ui-widget-content ui-corner-all'} }) }}


        <!--{{ form_label(form.contenuto) }}-->
        <label for="contenuto">Sign:</label> 
        {{ form_widget(form.contenuto, { 'attr': {'class' : 'required  text ui-widget-content ui-corner-all', 'cols' : '50', 'rows' : '6' } }) }}

        {{ form_rest(form) }}
    </fieldset>
</form>

